package com;

import java.text.SimpleDateFormat;
import java.util.Date;

public class Test {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Date date = new Date();

		SimpleDateFormat all = new SimpleDateFormat("yyyyMMdd HHmmss");
		System.out.println(all.format(date));
		date.setTime(date.getTime() + 1000*60);
		System.out.println(all.format(date));
	}

}
